#pragma once
class Complex
{
private:
	double real, imag;
public:
	Complex(double real = 0.0, double imag = 0.0) :real(real), imag(imag) {}
	double getreal();
	double getimag();
	void setreal(double r);
	void setimag(double i);
	void display();//DEBUG
	Complex operator +(Complex b) const;
	Complex operator -(Complex b) const;
	Complex operator *(Complex b) const;
	Complex operator /(Complex b) const;
};

